/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.buzz.parent.entity;

import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.modules.basedata.qinshuguanxi.entity.Qinshuguanxi;
import com.jeeplus.modules.sys.entity.Office;

/**
 * 家长登记Entity
 * @author 陈
 * @version 2025-06-16
 */
public class Parent extends DataEntity<Parent> {

	private static final long serialVersionUID = 1L;
	private String 			name;			// 家长姓名
	private String 			sex;			// 性别
	private String 			tel;			// 电话
	private Qinshuguanxi 	guanxi;			// 关系
	private String 			classid;		// 单据
	private Office 			company;		// 公司
	private Integer 		count;
	private List<Parententry> parententryList = Lists.newArrayList();		// 子表列表

	public Parent() {
		super();
	}

	public Parent(String id){
		super(id);
	}

	@ExcelField(title="家长姓名", align=2, sort=7)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@ExcelField(title="性别", align=2, sort=8)
	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	@ExcelField(title="电话", align=2, sort=9)
	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@ExcelField(title="关系", align=2, sort=10)
	public Qinshuguanxi getGuanxi() {
		return guanxi;
	}

	public void setGuanxi(Qinshuguanxi guanxi) {
		this.guanxi = guanxi;
	}

	@ExcelField(title="单据", align=2, sort=11)
	public String getClassid() {
		return classid;
	}

	public void setClassid(String classid) {
		this.classid = classid;
	}

	@ExcelField(title="公司", align=2, sort=12)
	public Office getCompany() {
		return company;
	}

	public void setCompany(Office company) {
		this.company = company;
	}

	public List<Parententry> getParententryList() {
		return parententryList;
	}

	public void setParententryList(List<Parententry> parententryList) {
		this.parententryList = parententryList;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}
}
